﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="NewsEdit.ascx.cs" Inherits="controls_admin_NewsEdit" %>
<%@ Register Assembly="FredCK.FCKeditorV2" Namespace="FredCK.FCKeditorV2" TagPrefix="FCKeditorV2" %>
<!-- forms -->
<div class="box">
    <!-- box / title -->
    <div class="title">
        <h5 id="module_title" runat="server">
            Cập Nhật Tin Tức
        </h5>
    </div>
    <div id="divMessage" runat="server">
    </div>
    <!-- end box / title -->
    <div class="form">
        <div class="fields">
            <div class="field field-first">
                <div class="label">
                    <label for="input-medium">
                        Tiêu đề:</label>
                </div>
                <div class="input">
                    <asp:TextBox ID="txtFULL_ARTICLE_TITLE" runat="server" CssClass="medium required"
                        MaxLength="500" />
                    <div class="note" id="NOTE_TITLE" runat="server" />
                </div>
            </div>
            <div class="field">
                <div class="label">
                    <label for="input-medium">
                        Ảnh hiển thị:
                    </label>
                </div>
                <div class="input input-file">
                    <asp:FileUpload ID="fulTHUMB_IMG" runat="server" CssClass="file" /><br />
                    <div id="divImg" runat="server" class="image" />
                    <div class="note" id="NOTE_URL" runat="server" />
                </div>
            </div>
            <div class="field">
                <div class="label">
                    <label for="input-medium">
                        Danh mục</label>
                </div>
                <div class="input">
                    <asp:DropDownList ID="ddlCategories" runat="server" CssClass="select" />
                    <div class="note" id="NOTE_CATE" runat="server" />
                </div>
            </div>
            <div class="field">
                <div class="label label-textarea">
                    <label for="textarea">
                        Mô Tả:</label>
                </div>
                <div class="input">
                    <asp:TextBox ID="txtFULL_ARTICLE_DESCRIPTION" runat="server" TextMode="MultiLine"
                        Columns="50" Rows="12" CssClass="required" BorderWidth="1" Width="400" MaxLength="1000" />
                    <div class="note" id="NOTE_DESCRIPT" runat="server" />
                </div>
            </div>
            <div class="field">
                <div class="label">
                    <label for="input-small">
                        Cho phép hiển thị:
                    </label>
                </div>
                <div class="input">
                    <asp:CheckBox ID="cboDisplay" runat="server" />
                    <div class="note" id="NOTE_DISPLAY" runat="server" />
                </div>
            </div>
            <div class="field">
                <div class="label">
                    <label for="input-small">
                        Chọn Module hiển thị:
                    </label>
                </div>
                <div class="input">
                    <asp:ListBox ID="lsbModule" runat="server" Width="300px" Height="200px" SelectionMode="Multiple" />
                    <div class="note" id="NOTE_MODULE" runat="server" />
                </div>
            </div>
            <div class="field">
                <div class="label">
                    <label for="input-medium">
                        Meta keyword:</label>
                </div>
                <div class="input">
                    <asp:TextBox ID="txtMetaKeyword" CssClass="medium" runat="server" MaxLength="60" />
                    <div class="note" id="NOTE_METAKEYWORD" runat="server" />
                </div>
            </div>
            <div class="field">
                <div class="label">
                    <label for="input-medium">
                        Meta Description:</label>
                </div>
                <div class="input">
                    <asp:TextBox ID="txtMetaDescription" CssClass="medium" runat="server" />
                    <div class="note" id="NOTE_METADESCRIPTION" runat="server" />
                </div>
            </div>
            <div class="field">
                <div class="label">
                    <label for="input-medium">
                        Thứ tự hiển thị:</label>
                </div>
                <div class="input">
                    <asp:TextBox ID="txtSortDisplay" runat="server" Width="50px" CssClass="number required"
                        MaxLength="5" Text="1" />
                    <div class="note" id="NOTE_SORT" runat="server" />
                </div>
            </div>
            <div class="field">
                <div class="label label-textarea">
                    <label for="textarea">
                        Nội Dung:</label>
                </div>
                <div class="textarea textarea-editor">
                    <FCKeditorV2:FCKeditor ID="fkcContent" runat="server" BasePath="~/fckeditor/" Width="100%"
                        Height="500px">
                    </FCKeditorV2:FCKeditor>
                </div>
            </div>
            <div class="buttons">
                <div class="highlight">
                    <asp:Button ID="btnSubmit" runat="server" Text="Cập Nhật" OnClick="btnSubmit_Click" />
                </div>
            </div>
        </div>
    </div>
</div>
<!-- end forms -->
